import request from '@/utils/request'


export function getList(params) {
  return request({
    //后端路径
    url: '/producePlan/getList',
    method: 'get',
    params
  })
}
export function addProducePlan(data) {
  return request({
    //后端路径
    url: '/producePlan/addProducePlan',
    method: 'post',
    data
  })
}

export function editPlan(data) {
  return request({
    //后端路径
    url: '/producePlan/editPlan',
    method: 'post',
    data
  })
}

export function delBatchPlans(params) {
  return request({
    //后端路径
    url: '/producePlan/delBatchPlans',
    method: 'get',
    params
  })
}

export function delPlanByNum(params) {
  return request({
    //后端路径
    url: '/producePlan/delPlanByNum',
    method: 'get',
    params
  })
}

export function editManagePlan(data) {
  return request({
    //后端路径
    url: '/producePlan/editManagePlan',
    method: 'post',
    data
  })
}
